package com.ysy.oauthclient.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ysy
 */
@RestController
@RequestMapping("/hello")
public class HelloController {


    @GetMapping("/test")
    public String test(){
        return "拿到测试的数据了呀~~呀呼！！";
    }

    @GetMapping("/one")
    public String one(){
        return "one~~呀呼！！";
    }
}
